package com.eastfair.venuebooking.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 展会负责人
 * </p>
 *
 * @author linan
 * @since 2022-06-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ExhibitionResponsibilityerUpdateDTO", description = "展会负责人")
public class ExhibitionResponsibilityerUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionId;
    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人姓名")
    @Size(max = 255, message = "负责人姓名长度不能超过255")
    private String userName;
    /**
     * 负责人id
     */
    @ApiModelProperty(value = "负责人id")
    private Long userId;
    /**
     * 负责人角色code(主要负责人，协助人员枚举维护)
     */
    @ApiModelProperty(value = "负责人角色code(主要负责人，协助人员枚举维护)")
    @Size(max = 255, message = "负责人角色code(主要负责人，协助人员枚举维护)长度不能超过255")
    private String responsibilityerRole;
    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long orgId;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    @Size(max = 255, message = "部门名称长度不能超过255")
    private String orgName;
}
